local targetPoints = 5000

ACHIEVEMENT.Name			= "Field Medic"
ACHIEVEMENT.Description		= "Heal "..targetPoints.." points of friendly players' health with a healstick."
ACHIEVEMENT.Icon			= nil

function ACHIEVEMENT:PlayerHeal (ply, targ, amt)
	printd ("heal party?!/11/")
	if (!IsValid(ply) or !ply:IsPlayer()) then return end
	
	printd ("Healin'.")
	
	local kills = self:GetValue( ply, "points", 0 )
	self:SetValue( ply, "points", points + amt )
end

function ACHIEVEMENT:CompletionConditions (ply)
	return self:GetValue( ply, "points", 0 ) > targetPoints
end

function ACHIEVEMENT:FractionComplete (ply)
	return self:GetValue( ply, "points", 0 ) / targetPoints
end

function ACHIEVEMENT:StatusText( ply )
	return math.min( self:GetValue( ply, "points", 0 ), targetPoints ) .. "/" ..targetPoints
end
